//
//  KLNetWorkHelper.m
//  KLCurrency
//
//  Created by apple on 2018/1/2.
//  Copyright © 2018年 bonc. All rights reserved.
//

#import "KLNetWorkHelper.h"
#import "Reachability.h"

@implementation KLNetWorkHelper

+ (BOOL)isExistNetWork
{
    Reachability *reachability = [Reachability reachabilityWithHostName:@"www.baidu.com"];
    
    if ([reachability currentReachabilityStatus] == NotReachable)
    {
        return NO;
    }
    
    return YES;
}

@end
